#ifndef MACHINE_PARAMETER_H
#define MACHINE_PARAMETER_H

#include <QObject>
#include <QDataStream>

class machine_parameter : public QObject
{
    Q_OBJECT
public:
    explicit machine_parameter(QObject *parent = 0);


    uint used_times_counter;
    uint machine_type_id;
    uint user_defined;
    uint license;
    bool limits_unlock;
    bool password_protect;
    bool bottom_exhaust_machine;
    bool is_water_supply_type;
    bool cold_exhaust_control_type;
    bool user_defined_1;
    bool user_defined_2;
    bool user_defined_3;
    bool ad_checksum;
    bool exhaust_valve_multiplex;
    bool IO_drive_type;
    bool temperature_control_type;
    bool realtime_print_record;
    bool IO_tracker;
    bool door_near_switch;

    uchar null[2];
    QString serial_number;
    QString str_factory_time;

signals:
    
public slots:
    
};


QDataStream &operator<<(QDataStream &, const machine_parameter &);
QDataStream &operator>>(QDataStream &, machine_parameter &);


#endif // MACHINE_PARAMETER_H
